//
//  WPproduct.m
//  MyLottery
//
//  Created by wpapple on 16/5/27.
//  Copyright © 2016年 wpapple. All rights reserved.
//

#import "WPproduct.h"

@implementation WPproduct

-(instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        
        _title = dict[@"title"];
        _stitle = dict[@"stitle"];
        _idd = dict[@"id"];
        _url = dict[@"url"];
        _icon = dict[@"icon"];
        _customUrl = dict[@"customUrl"];
        
    }
    return self;
}

+(instancetype)productWithDict:(NSDictionary *)dict
{
    return [[self alloc]initWithDict:dict];
}

@end
